package it.sebsibenal.shared;

import javax.persistence.Id;

import com.google.gwt.user.client.rpc.IsSerializable;

public class User implements IsSerializable, HasId {

	@Id
	private Long id;
	private String nome;
	private String cognome;
	private String nickname;
	private String email;
	
	public User() {
		super();
	}
	
	public User(String nome, String cognome, String nickname, String email) {
		super();
		this.nome = nome;
		this.cognome = cognome;
		this.nickname = nickname;
		this.email = email;
	}

	public String getNome() {
		return nome;
	}
	public void setNome(String nome) {
		this.nome = nome;
	}
	public String getCognome() {
		return cognome;
	}
	public void setCognome(String cognome) {
		this.cognome = cognome;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	
}
